import request from '@/utils/request'
export default{
    listPage(){ 
        return request({
            url:`/admin/core/borrowInfo`,
            method:'GET',
        })
    },
    borrowDetail(id){ 
        return request({
            url:`/admin/core/borrowInfo/${id}`,
            method:'GET',
        })
    },
    approval(borrowInfoApproval){ 
        return request({
            url:`/admin/core/borrowInfo/approval`,
            method:'POST',
            data:borrowInfoApproval
        })
    },
}